package com.example.activity.controller;

import com.example.activity.utils.Result;
import org.springframework.web.bind.annotation.*;


@RestController
public class TestController {

    @GetMapping("/test")
    public Result<String> test(){
        return Result.ok("sssss");
    }


    @PostMapping("/test2")
    public Result<String> test1(@RequestParam String name){
        System.out.println(name);
        return Result.ok("ok");
    }

}
